package com.taotao.portal.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.taotao.common.pojo.TaotaoResult;
import com.taotao.portal.pojo.CartItem;

/**
 * @Description:
 * @Author:fu.cc
 * @Company:neusoft
 * @CreateDate:2016年12月1日上午10:38:16
 */
public interface CartService {
	TaotaoResult addCartItem(long itemId, int num, HttpServletRequest request, HttpServletResponse response);

	List<CartItem> getCartItemList(HttpServletRequest request, HttpServletResponse response);

	TaotaoResult deleteCartItem(long itemId, HttpServletRequest request, HttpServletResponse response);

	TaotaoResult changeCartItemNum(long itemId, int num, HttpServletRequest request, HttpServletResponse response);

}
